#pragma once

#include "nocopy.hpp"
#include "Log.hpp"
#include <sys/epoll.h>

class Epoller : public nocopy
{
private:
    int _epfd;
public:
    Epoller()
    {
        _epfd = epoll_create(128);
        if(_epfd == -1)
        {
            lg(Error,"create err");
        }
    }
    ~Epoller()
    {}
};